import React, {Component} from 'react';
import {Button} from 'antd-mobile'
class Error extends Component {
    render() {
        return (
            <div>
                <h1>404</h1>
                <Button
                    type="primary"
                    onClick={() => this.props.history.replace("/")}
                >
                    回到首页
                </Button>
            </div>
        );
    }
}

export default Error;